package DAO;
import java.util.List;
import org.vo.User;
public interface UserDao {
  public boolean insert(User user)throws Exception; //插入
  public boolean delete(int eid)throws Exception;   //删除
  public boolean updateEname(String ename)throws Exception;//修改用户名
  public boolean updatePassword(String password)throws Exception;//修改密码
  public User select(int eid)throws Exception; //按ID查询
  public User select(String ename)throws Exception;//按用户名查询
  public List<User> selectAll()throws Exception;//查询全部
}
